package com.zm.demo.shoppingmall.order;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * @desc:
 * @author: z01140
 * @date: 2021/5/24 21:05
 */
@SpringBootApplication
@DubboComponentScan(basePackages = {"com.zm.demo.shoppingmall.order.service.impl"})
@MapperScan("com.zm.demo.shoppingmall.order.dao")
@Configuration
@ImportResource("classpath:spring/beans-dubbo-server.xml")
public class ShoppingMallOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingMallOrderApplication.class);
    }

}